package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName("cmfz_guru")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CmfzGuru implements Serializable {
        @TableId(value = "guru_id",type = IdType.AUTO)
        @Excel(name = "上师编号")
        private Integer guruId;
        @TableField("guru_name")
        @Excel(name = "上师名字")
        private String guruName;
        @TableField("guru_image")
        @Excel(name = "上师图片地址")
        private String guruImage;
        @TableField("guru_nickname")
        @Excel(name = "上师法号")
        private String guruNickname;
        @TableField("guru_status")
        @Excel(name = "上师状态",replace = {"正常_0","冻结_1"})
        private Integer guruStatus;
}
